﻿using M.Warehouse.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M.Warehouse.Repository
{
    public class WEFDbContext:DbContext
    {
        /// <summary>
        /// 上下文
        /// </summary>
        /// <param name="options"></param>
        public WEFDbContext(DbContextOptions<WEFDbContext> options) : base(options) { }
        /// <summary>
        /// 库位管理
        /// </summary>
        public DbSet<BinLocations> BinLocations { get; set; }
        /// <summary>
        /// 库区管理
        /// </summary>
        public DbSet<Reservoirs> Reservoirs { get; set; }
        /// <summary>
        /// 仓库管理
        /// </summary>
        public DbSet<Warehouses> Warehouses { get; set; }
        /// <summary>
        /// 库存管理
        /// </summary>
        public DbSet<Inventory> Inventory { get; set; }
        /// <summary>
        /// 生产领料管理
        /// </summary>
        public DbSet<Picking> Picking { get; set; }
        /// <summary>
        /// 成品管理
        /// </summary>
        public DbSet<FinishedProduct> FinishedProduct { get; set; }
    }
}
